export type SubjectItem = {
  id: number
  name: string
  en_name: string
  subject_score: number
  amend_subject_score: number
  score: number
}
export type CollegeRecommend = {
  shock: string
  stable: string
  pocket: string
}
export type Points = {
  x: number
  y: number
  label?: string
}
export type statistics = {
  year: number
  number: number
}
export type AttackItem = {
  subject_id: number
  subject_name: string
  score: number
  target_score: number
  improve_score: number
}
export type ThroughPlan = {
  subject_promotion_info: AttackItem
  copywriting: string
}
export type YearEvents = {
  time: string
  title: string
  desc: string
}
export type ReportData = {
  origin_detail: {
    stu_name: string
    area_id: number
    area_name: string
    year: number
    subjects_choose: SubjectItem[]
  }
  report_detail: {
    title: string
    stu_name: string
    area_name: string
    year: number
    commit_time: string
    planner: string
    origin_total_score: number
    trans_total_score: number
    select_subjects: string[]
    summary: {
      data_year: number
      cur_score: number
      cur_interval: string
      cur_college_recommend: CollegeRecommend
      improve_score: number
      target_score: number
      target_interval: string
      target_college_recommend: CollegeRecommend
    }
    learn_stage: {
      graph: {
        x_points: Points[]
        y_points: Points[]
        mark_points: Points[]
      }
      score: number
      message: string
    }
    exam_statistics: {
      number_statistics: statistics[]
      score_interval_distribution: {
        graph: {
          x_points: Points[]
          y_points: Points[]
          mark_points: Points[]
        }
        year: number
      }
    }
    stage_promotion_target: {
      total_improve_score: number
      stage_promotion_list: {
        main_attack_list: AttackItem[]
        non_main_attack_list: AttackItem[]
      }
      main_improve_score: number
    }
    break_through_plan: ThroughPlan[]
    year_events: YearEvents[]
  }
}
export type ReportParam = {
  sn: string
}
